package com.molichuxing.gateway.bff.goods.entity.request.create;

import com.molichuxing.framework.dto.RootDto;
import com.molichuxing.services.property.GoodsTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 商品基础信息入参
 * @author xuelin yi
 */
@Data
public class GoodsBaseCreateVo extends RootDto {

    @ApiModelProperty(value = "商品ID")
    private int id;

    @ApiModelProperty(value = "商品编码")
    private String code;

    @ApiModelProperty(value = "商品类型（1：专属，2：订阅）")
    private GoodsTypeEnum type;

    @ApiModelProperty(value = "车型id")
    private int vehicleStyleId;

    @ApiModelProperty(value = "租车费")
    private BigDecimal rental;

    @ApiModelProperty(value = "保证金")
    private BigDecimal bond;

    @ApiModelProperty(value = "用车时长规格id")
    private Integer useVehicleTimeSpecId;
}
